home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- movespeed = 7;
- var grav = 0;
- var speed = 0;
- var jumpHeight = 12;
- var setspeed = speed;
- var scale = _xscale;
- var ex = 5;
- var xvel = 0;
- var yvel = 0;
- var jumping = 0;
- var maxspeed = 10;
- attack1 = function()
- {
- if(this._currentframe != 20 && this._currentframe != 10 && this._currentframe != 15 && _root.char._currentframe != 45 && this._currentframe != 30 && this._currentframe != 35 && this._currentframe != 40)
- {
- this.gotoAndStop("attack_1");
- attack = 1;
- }
- };
- }
-